package com.wyiot.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum PetSizeEnum {
    Small(0, "小"),
    Medium(1, "中"),
    Big(2, "大"),
    ;
    @EnumValue
    private final Integer  code;
    @JsonValue
    private final String remark;

    PetSizeEnum(Integer code,String remark) {
        this.code= code;
        this.remark=remark;
    }

}

